package by.msokoloff.javaweb2015.webapp.page.airport;

import org.apache.wicket.markup.html.panel.Panel;
import org.apache.wicket.model.CompoundPropertyModel;

import by.msokoloff.javaweb2015.datamodel.Airport;

public class AirportEditPanel extends Panel {

	public AirportEditPanel(String id, Airport airport) {
		super(id);
		add(new AirportForm("airportEditForm", new CompoundPropertyModel<Airport>(airport)));
	}

}
